package com.example.mydesignmodule.command;

/**
 * @author tgw
 * @date 2021/3/1
 * @describe
 */
class CommandConcretedStart implements Command{


    private Receiver receiver;

    public CommandConcretedStart(Receiver receiver) {
        this.receiver = receiver;
    }

    @Override
    public void doTask() {
        receiver.action();
    }
}
